package com.sanpu.kxe.business.card.contract;

import com.sanpu.kxe.base.IBaseExtraView;
import com.sanpu.kxe.base.IBasePresenter;
import com.sanpu.kxe.business.card.bean.DefBankOutput;

/**
 * Description：修改默认结算卡
 * Created by 薛勇军 on 2019/5/15.
 */

public interface OldUpdateDefBankContract {

    interface View extends IBaseExtraView<Presenter> {
        /**
         * 显示提交的数据
         */
        void showViewData(DefBankOutput output);
    }

    interface Presenter extends IBasePresenter {
        /**
         * 提交卡信息
         */
        void onCommit(String bankNo, String redTel);

        /**
         * 查看图片
         */
        void takePhoto(String photo, int code);

        /**
         * 压缩图片
         */
        void onCompress(String filePath, String reName);

        /**
         * 删除缓存图片
         */
        void removeFile(String fileKey);

        /**
         * 打开案例
         */
        void openCertificateHelpActivity(String currentType);

        /**
         * 获取网络图片文件
         */
        void getImageFileByNet(String imageUrl, String fileName);
    }
}
